Loading

Paste #pu4p4v5p3

  1. diff --git a/_layouts/default.html b/_layouts/default.html
  2. index badb9a7..d35ab8c 100644
  3. --- a/_layouts/default.html
  4. +++ b/_layouts/default.html
  5. @@ -38,7 +38,7 @@
  6.                      <a href="{{ base }}/about.html">About</a>
  7.                  </li>
  8.                  <li><a href="https://wiki.openttd.org/">Manual</a></li>
  9. -                <li class="{% if page.active_nav == 'screenshots' %}selected{% endif %}">
  10. +                <li class="{% if page.active_nav == 'screenshots' or layout.active_nav == 'screenshots' %}selected{% endif %}">
  11.                      <a href="{{ base }}/screenshots.html">Screenshots</a>
  12.                  </li>
  13.                  <li><a href="https://servers.openttd.org">Servers</a></li>
  14. diff --git a/_layouts/screenshot.html b/_layouts/screenshot.html
  15. index 21b3e98..69ba96c 100644
  16. --- a/_layouts/screenshot.html
  17. +++ b/_layouts/screenshot.html
  18. @@ -1,5 +1,6 @@
  19.  ---
  20.  layout: default
  21. +active_nav: screenshots
  22.  ---
  23.  
  24.  <div id="section-full">

Comments